min
min(dataIn: number | any[] | Mat | Tensor) : number
param dataIn - a number, an Array, Mat or Tensor, where you want to find the minimum value.
returns: number - representing the minimum value of the structure given
This function is similar to max() - it finds the minimum element in a given structure, whether its a list, Array, Mat or Tensor, or even a number itself (the trivial case). Overall, it's finding the smallest element of a set.